PreviousNextTracker indexSee it online !

(210/308) 1645 - JDiff: apply patch does not verify

Regular patch command verifies if the previous version from the patch file matches the file being patched. If there are differences, the patch is not applied and the user is notified. JDiff applies the patch blindly that makes it dangerous to use.

Desired behaviour: make a check of contents before applying the patch. Stop applying the patch and point to the conflicting lines. Be smart to handle different line endings in patch file.

Checked on r22076, unified patch.

Submitted jarekczek - 2012-08-27 09:40:07 Assigned
Priority 5 Labels
Status open Group None
Resolution None

Comments